<?php

namespace Biz\Constants\Site;

/**
 * SiteMailConstants.
 *
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class SiteMailConstants
{
    /**
     * Status.
     */
    const STATUS_NORMAL       = 1; //正常（上线）

    /**
     * Status Names .
     *
     * @var array
     */
    public static $StatusNames = [
        self::STATUS_NORMAL       => '正常',
    ];

    /**
     * Drivers.
     */
    const DRIVER_SMTP = 'smtp';

    /**
     * Drivers.
     *
     * @var array
     */
    public static $Drivers = [
        self::DRIVER_SMTP,
    ];

    /**
     * E-Mail Encryption Protocols.
     */
    const ENCRYPTION_TLS = 'tls';
    const ENCRYPTION_SSL = 'ssl';

    /**
     * Encryptions.
     *
     * @var array
     */
    public static $Encryptions = [
        self::ENCRYPTION_TLS,
        self::ENCRYPTION_SSL,
    ];

    /**
     * Sendmail System Path.
     */
    const DEFAULT_SENDMAIL = '/usr/sbin/sendmail -bs';
}
